package demo.activity;

import demo.adapter.TestSpringListViewAdapter;
import demo.view.SpringListView;
import demo.zandroid.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

public class TestSpringListView extends Activity {
	private SpringListView lv;
	private TestSpringListViewAdapter adapter;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_testspring_lv);
		lv = (SpringListView) findViewById(R.id.lv);
		String[] data = {"123","123","123","123","123"};
		adapter = new TestSpringListViewAdapter(this,data);
		lv.setAdapter(adapter);
	}
}
